package com.shrw.duke.serialport.common;

/**
 * Created by rw-duke on 2018/4/2.
 */

public class PortArg {
    /****************IData95v手持机***************/
    public static final String baudrate = "115200";
    public static final String cverify = "N";
    public static final String device = "/dev/ttyMT1";
    //    public static final String device = "/dev/ttyMT0";
    public static final String bits = "8";
    public static final String nstop = "1";

    //RFID电源
    public static final int IOCTRL_PMU_RFID_ON = 0x03;
    public static final int IOCTRL_PMU_RFID_OFF = 0x04;
    //扫描头串口电源
    public static final int IOCTRL_PMU_BARCODE_ON = 0x05;
    public static final int IOCTRL_PMU_BARCODE_OFF = 0x06;
    //扫描头IO
    public static final int IOCTRL_PMU_BARCODE_TRIG_HIGH = 0x11;
    public static final int IOCTRL_PMU_BARCODE_TRIG_LOW = 0x12;
    //RFID IO
    public static final int IOCTRL_PMU_RFID_GPIOEXT_HIGH = 0x15;
    public static final int IOCTRL_PMU_RFID_GPIOEXT_LOW = 0x16;
    //底部串口电源
    public static final int IOCTRL_EXTERN_UART_ON = 0x07;
    public static final int IOCTRL_EXTERN_UART_OFF = 0x08;



}
